Returns the Rect instance for the empty origin and the given size value.
Returns the Rect instance for the given origin and size values.
public static Rect of(int width, int height) Returns the Rect instance for the given width and height values.
public static Rect of(int x, int y, int width, int height) Returns the Rect instance for the given x, y, width, and height values.